import 'package:bilibili/http/request/video_detail_request.dart';
import 'package:hi_net/hi_net.dart';

import '../model/video_detail_mo.dart';

///详情页
class VideoDetailDao {
  static get(String vid) async {
    var videoDetailRequest = VideoDetailRequest();
    videoDetailRequest.pathParams = vid;
    var response = await HiNet.getInstance().fire(videoDetailRequest);
    return VideoDetailMo.fromJson(response["data"]);
  }
}
